/**
 * Created by   :Wangshuzhong
 * Created time :2019/08/21
 * File explain :requirejs文件
 */
require.config({
    baseUrl: 'js',
    paths:{
        jq: ["../lib/jquery"],
        vue: ["../lib/vue.min"],
        ELEMENT: ["../lib/elementUI"],
        config: ["config"],
        superTrailer: ["../pages/superTrailer/superTrailer"],
    }
});
require(["jq"],function(){
    require(["vue", "ELEMENT"],function(){
        require(["config"],function(){
            //加载公用模块
            $(".header-load").load("pages/common/header.html");
            $(".footer-load").load("pages/common/footer.html");
            require(["superTrailer"]);
        })
    })
});
